package edu.java.water.service.impl;

import edu.java.water.entity.BuildingEntity;
import edu.java.water.mapper.BuildingMapper;
import edu.java.water.service.BuildingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class BuildingServiceImpl implements BuildingService {
    @Autowired
    private BuildingMapper buildingMapper;
    @Override
    public List<BuildingEntity> getBuilding() {
        return buildingMapper.getBuilding();
    }
}
